package auto.app.dao;

import auto.app.model.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 杨森
 * @since 2022-07-08
 */
public interface ResourceDao extends BaseMapper<Resource> {
    public List<Resource> findResourceByAccountId(Integer id);

    public List<Resource> findResourceByRuleId(@Param("ruleId") Integer ruleId);
}
